package com.ruoyi.project.jsrh.news.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 轮播图对象 zt_banner
 * 
 * @author ruoyi
 * @date 2020-06-10
 */
public class ZtBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    private Long bannerId;

    /** 轮播名称 */
    @Excel(name = "轮播名称")
    private String bannerTitle;

    /** 轮播图图片地址 */
    @Excel(name = "轮播图图片地址")
    private String bannerImg;

    /** l轮播图链接类型，1：系统文章，2：预购id，3：专题活动id，4：产品id */
    @Excel(name = "l轮播图链接类型，1：系统文章，2：预购id，3：专题活动id，4：产品id")
    private Long bannerType;

    /** 状态：1：正常，:0：禁用 */
    @Excel(name = "状态：1：正常，:0：禁用")
    private Integer status;

    /** banner跳转地址，对于微信和app的系统文章有效 */
    @Excel(name = "banner跳转地址，对于微信和app的系统文章有效")
    private String bannerUrl;

    /** 对象id，和链接类型关联 */
    @Excel(name = "对象id，和链接类型关联")
    private Long objectId;

    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }
    public void setBannerImg(String bannerImg) 
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg() 
    {
        return bannerImg;
    }
    public void setBannerType(Long bannerType) 
    {
        this.bannerType = bannerType;
    }

    public Long getBannerType() 
    {
        return bannerType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerTitle", getBannerTitle())
            .append("bannerImg", getBannerImg())
            .append("bannerType", getBannerType())
            .append("status", getStatus())
            .append("bannerUrl", getBannerUrl())
            .append("objectId", getObjectId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
